package com.bmadmin.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.bmadmin.domain.TysxFlwhDomain;
import com.bmadmin.mapper.TysxFlwhDao;
import com.bmadmin.service.TysxFlwhService;
@Service
@Transactional
public class TysxFlwhServiceImpl implements TysxFlwhService {
	@Autowired
	TysxFlwhDao tysxflwhDao;
	
	public List<TysxFlwhDomain> getTysxDlList(){
		return tysxflwhDao.getTysxDlList();
	}

	public List<TysxFlwhDomain> getTysxXlList(Map map){
		return tysxflwhDao.getTysxXlList(map);
	}

	public List<TysxFlwhDomain> getTysxXlUserList(Map map){
		return tysxflwhDao.getTysxXlUserList(map);
	}
	
	public int insertSxDl(TysxFlwhDomain tysxflwh){
		return tysxflwhDao.insertSxDl(tysxflwh);
	}

	public int insertSxXl(TysxFlwhDomain tysxflwh){
		return tysxflwhDao.insertSxXl(tysxflwh);
	}

	public int insertSxXlUser(TysxFlwhDomain tysxflwh){
		return tysxflwhDao.insertSxXlUser(tysxflwh);
	}
	
	public int deleteSxdl(String sxdl_dm){
		return tysxflwhDao.deleteSxdl(sxdl_dm);
	}

	public int deleteSxxl(String sxxl_dm){
		return tysxflwhDao.deleteSxxl(sxxl_dm);
	}

	public int deleteSxxlUser(String id){
		return tysxflwhDao.deleteSxxlUser(id);
	}
	
	public int updateSxDl(TysxFlwhDomain tysxflwh){
		return tysxflwhDao.updateSxDl(tysxflwh);
	}

	public int updateSxxl(TysxFlwhDomain tysxflwh){
		return tysxflwhDao.updateSxxl(tysxflwh);
	}

	public int updateSxxlUser(TysxFlwhDomain tysxflwh){
		return tysxflwhDao.updateSxxlUser(tysxflwh);
	}
}
